#ifndef _HEAP_
#define _HEAP_

class Heap
{
public:
	const static int maxItemsCount = 100; 
	int* heapItems;
	int heapLength;
	Heap();
	~Heap();
	bool Build(int * array, int length);
	bool Insert(int data);
	void Update();
	bool Delete();
	void Heapify();
	int Get();
	void Swap(int a, int b);
};

#endif
